package com.feinno.urcs.group.entity;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.annotation.Field;
import com.feinno.urcs.types.MobileNo;

import java.util.Date;
import java.util.List;

/**
 * 群成员的订阅信息
 * 
 * @author Lv.Mingwei
 * 
 */
public class GroupMemberSubscription extends SuperPojo {

	@Field(id = 1)
	private MobileNo userMobile;

	@Field(id = 2)
	private String fromTag;

	@Field(id = 3)
	private String toTag;

	@Field(id = 4)
	private String callId;

	@Field(id = 5)
	private int cSeq;

	@Field(id = 6)
	private int expires;

	@Field(id = 7)
	private GroupSubscribeType subType; // 区别不同的群订阅

	@Field(id = 8)
	private List<String> route;
	@Field(id = 9)
	private String contact;
	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public int getcSeq() {
		return cSeq;
	}

	public void setcSeq(int cSeq) {
		this.cSeq = cSeq;
	}



	public List<String> getRoute() {
		return route;
	}

	public void setRoute(List<String> route) {
		this.route = route;
	}

	public String getFromTag() {
		return fromTag;
	}

	public void setFromTag(String fromTag) {
		this.fromTag = fromTag;
	}

	public String getToTag() {
		return toTag;
	}

	public void setToTag(String toTag) {
		this.toTag = toTag;
	}

	public String getCallId() {
		return callId;
	}

	public void setCallId(String callId) {
		this.callId = callId;
	}

	public MobileNo getUserMobile() {
		return userMobile;
	}

	public void setUserMobile(MobileNo userMobile) {
		this.userMobile = userMobile;
	}



	public int getCSeq() {
		return cSeq;
	}
	public void setCSeq(int cSeq) {
		this.cSeq = cSeq;
	}

	public int getExpires() {
		return expires;
	}

	public void setExpires(int expires) {
		this.expires = expires;
	}

	public GroupSubscribeType getSubType() {
		return subType;
	}

	public void setSubType(GroupSubscribeType subType) {
		this.subType = subType;
	}
}
